Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Success response body

{
  "coupon_name": "dsa2",
  "coupon_editors": [
    {
      "id": 1,
      "user_name": "Stone Wood",
      "create": true,
      "created_at": "2022-08-16T16:00:04.525Z"
    },
    {
      "id": 2,
      "user_name": "Stone Wood",
      "create": false,
      "created_at": "2022-08-16T16:00:12.913Z"
    },
    ...
  ],
  "meta": {
    "total_count": 10
  }
}

Params

Param name Description
coupon_id
required

Validations:

  • Must be a Integer